//
//  HBDNavigationController+ZMExtension.swift
//  YHCT
//
//  Created by Rowling on 2020/10/9.
//  Copyright © 2020 智蚂优服. All rights reserved.
//

import Foundation

extension HBDNavigationController {
    open override func pushViewController(_ viewController: UIViewController, animated: Bool) {
        if self.viewControllers.count > 0 {
            viewController.hidesBottomBarWhenPushed = true
        }
        super.pushViewController(viewController, animated: animated)
    }
}
